<?php
require('../class/sql.php');
require('../class/sitemap.php');

$id = $db->quoteInto('id = ?',$_GET['id']);
$deletepost = $db->delete($_GET['table'],$id);
$urls = $_GET['urls'];
//sitemap();
$url = "http://".$_SERVER['HTTP_HOST']."/adm/$urls.php";
header("Location: $url");

?>